<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>24_对象-细说创建对象</title>
    </head>
    <body>
        <script>
            var person = {name:'zhangsan',age:18};
            console.log(person);


            function Person(){

            }

            var p = new Person();
            console.log(p);

            var o = new Object();
            console.log(o);
        </script>
    </body>
</html>